<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-score-edit" th:object="${score}">
		<input id="scoreId" name="scoreId" th:field="*{scoreId}"  type="hidden">
		<div class="form-group">
			<label class="col-sm-3 control-label">学生号：</label>
			<div class="col-sm-8">
				<input id="stuNum" name="stuNum" th:field="*{stuNum}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">学生名称：</label>
			<div class="col-sm-8">
				<input id="stuName" name="stuName" th:field="*{stuName}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">显示顺序：</label>
			<div class="col-sm-8">
				<input id="orderNum" name="orderNum" th:field="*{orderNum}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">学期号：</label>
			<div class="col-sm-8">
				<input id="termNum" name="termNum" th:field="*{termNum}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">班级号：</label>
			<div class="col-sm-8">
				<input id="classNo" name="classNo" th:field="*{classNo}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">语文成绩：</label>
			<div class="col-sm-8">
				<input id="scoreChinese" name="scoreChinese" th:field="*{scoreChinese}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">数学成绩：</label>
			<div class="col-sm-8">
				<input id="scoreMath" name="scoreMath" th:field="*{scoreMath}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">英语成绩：</label>
			<div class="col-sm-8">
				<input id="scoreEnglish" name="scoreEnglish" th:field="*{scoreEnglish}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">政治成绩：</label>
			<div class="col-sm-8">
				<input id="scorePolitical" name="scorePolitical" th:field="*{scorePolitical}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">历史成绩：</label>
			<div class="col-sm-8">
				<input id="scoreHistory" name="scoreHistory" th:field="*{scoreHistory}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">生物成绩：</label>
			<div class="col-sm-8">
				<input id="scoreBiology" name="scoreBiology" th:field="*{scoreBiology}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">地理成绩：</label>
			<div class="col-sm-8">
				<input id="scoreGeographical" name="scoreGeographical" th:field="*{scoreGeographical}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">化学成绩：</label>
			<div class="col-sm-8">
				<input id="scoreChemistry" name="scoreChemistry" th:field="*{scoreChemistry}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">物理成绩：</label>
			<div class="col-sm-8">
				<input id="scorePhysical" name="scorePhysical" th:field="*{scorePhysical}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">创建者：</label>
			<div class="col-sm-8">
				<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">创建时间：</label>
			<div class="col-sm-8">
				<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">更新者：</label>
			<div class="col-sm-8">
				<input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">更新时间：</label>
			<div class="col-sm-8">
				<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
			</div>
		</div>
	</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    var prefix = ctx + "system/score"
    $("#form-score-edit").validate({
        rules:{
            xxxx:{
                required:true,
            },
        }
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-score-edit').serialize());
        }
    }
</script>
</body>
</html>
